projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
875c8d5
)
Add autoload cookie to eshell-bookmark-jump
author
Stefan Kangas
<stefankangas@gmail.com>
Sun, 6 Sep 2020 15:56:26 +0000
(17:56 +0200)
committer
Stefan Kangas
<stefankangas@gmail.com>
Sun, 6 Sep 2020 18:51:55 +0000
(20:51 +0200)
* lisp/eshell/esh-mode.el (eshell-bookmark-jump): Add autoload
cookie, so we can jump to bookmarks before having used eshell.
Problem noted by Stefan Monnier.
lisp/eshell/esh-mode.el
patch
|
blob
|
history
diff --git
a/lisp/eshell/esh-mode.el
b/lisp/eshell/esh-mode.el
index ecdfd285f9008e6821b594b91d791ae3d7d17249..e0e86348bd8af723225f5710252bb0e9377e1262 100644
(file)
--- a/
lisp/eshell/esh-mode.el
+++ b/
lisp/eshell/esh-mode.el
@@
-1018,6
+1018,7
@@
This function could be in the list `eshell-output-filter-functions'."
(location . ,default-directory)
(handler . eshell-bookmark-jump)))
+;;;###autoload
(defun eshell-bookmark-jump (bookmark)
"Default bookmark handler for Eshell buffers."
(let ((default-directory (bookmark-prop-get bookmark 'location)))